/* 
 *  *
 *   Copyright 2013-2020 Smartdot Technologies Co., Ltd. All rights reserved.  * SMARTDOT PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.  * 
 */ package com.ssm.zhou.entity;


import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/** 
 * <p>  
 * 用户实体类
 * @author <a href="mailto:zhoujb@smartdot.com.cn">周竞博</a>  * @version 1.0, 2020年5月27日 
 */
public class User {
	private String userId;
	private String userName;
	private String password;
	private String email;
	private String sex;	
	@DateTimeFormat(pattern="YYYY-MM-dd")
	private Date birthday;
	private String phone;
	private Integer age;
	private String created;
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public String getCreated() {
		return created;
	}
	public void setCreated(String created) {
		this.created = created;
	}
	@Override
	public String toString() {
		return "User [userId=" + userId + ", userName=" + userName + ", password=" + password + ", email=" + email
				+ ", sex=" + sex + ", birthday=" + birthday + ", phone=" + phone + ", age=" + age + ", created="
				+ created + "]";
	}	
	public User(){
		
	}
}
 